﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace FaWorks.WebSite
{
    public class KlDataBase : DbContext
    {
        public KlDataBase()
            : base("name=KlConnection")
        {

        }

        public DbSet<Models.User> Users { get; set; }

        // Knowledge
        public DbSet<Models.Knowledge.Details2Type> Details2Types { get; set; }
        public DbSet<Models.Knowledge.Details2UserType> Details2UserTypes { get; set; }
        public DbSet<Models.Knowledge.DisposeType> DisposeTypes { get; set; }
        public DbSet<Models.Knowledge.KnowledgeDetail> KnowledgeDetails { get; set; }
        public DbSet<Models.Knowledge.KnowledgeDetailType> KnowledgeDetailTypes { get; set; }
        public DbSet<Models.Knowledge.KnowledgeType> KnowledgeTypes { get; set; }
        public DbSet<Models.Knowledge.UserKnowledgeDetailsType> UserKnowledgeDetailsTypes { get; set; }
    }

    public class FaDataBase : DbContext
    {
        public FaDataBase()
            : base("name=FaConnection")
        {

        }

        public DbSet<Models.SitemapItem> SitemapItems { get; set; }
        public DbSet<Models.User> Users { get; set; }

        // User
        public DbSet<Models.Users.UserInformation> UserInformations { get; set; }
        public DbSet<Models.Users.Station> Stations { get; set; }



    }
}
